#pragma once
#include <qgraphicsview.h>
class FpQGraphicsView :
    public QGraphicsView
{
    Q_OBJECT
public:
	FpQGraphicsView(QWidget* parent = nullptr);
	FpQGraphicsView(QGraphicsScene* scene, QWidget* parent = nullptr);

protected:
	virtual void mousePressEvent(QMouseEvent* event) override;
	virtual void mouseMoveEvent(QMouseEvent* event) override;
	virtual void mouseReleaseEvent(QMouseEvent* event) override;

private:
	void Init();
};

